package org.jeecg.modules.unitGroup.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.api.entity.CyEmissionUnit;
import org.jeecg.modules.unitGroup.entity.CyFactorUnitGroup;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 碳排因子单位分组表
 * @Author: jeecg-boot
 * @Date:   2024-11-06
 * @Version: V1.0
 */
public interface ICyFactorUnitGroupService extends IService<CyFactorUnitGroup> {

    Result<String> delete(String id);

    void edit(CyFactorUnitGroup cyFactorUnitGroup);

    Map<String, List<CyEmissionUnit>> getUnitTree();

    List<CyFactorUnitGroup>  getAllUnitGroup();

}
